flowbox: don't use focus-line-width
authorCosimo Cecchi <cosimoc@gnome.org>
Sun, 4 May 2014 18:42:13 +0000 (20:42 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 9 May 2014 18:02:46 +0000 (11:02 -0700)
gtk/gtkflowbox.c

index 366b9ed2e5e02a4ea9122b998325b985df6a191e..dc8090a1b1d0225d511f4ffc81c10b9f20312ff4 100644 (file)
@@ -373,21 +373,17 @@ gtk_flow_box_child_get_full_border (GtkFlowBoxChild *child,
   GtkStyleContext *context;
   GtkStateFlags state;
   GtkBorder padding, border;
-  int focus_width;
 
   context = gtk_widget_get_style_context (widget);
   state = gtk_style_context_get_state (context);
 
   gtk_style_context_get_padding (context, state, &padding);
   gtk_style_context_get_border (context, state, &border);
-  gtk_style_context_get_style (context,
-                               "focus-line-width", &focus_width,
-                               NULL);
-
-  full_border->left = padding.left + border.left + focus_width;
-  full_border->right = padding.right + border.right + focus_width;
-  full_border->top = padding.top + border.top + focus_width;
-  full_border->bottom = padding.bottom + border.bottom + focus_width;
+
+  full_border->left = padding.left + border.left;
+  full_border->right = padding.right + border.right;
+  full_border->top = padding.top + border.top;
+  full_border->bottom = padding.bottom + border.bottom;
 }
 
 static GtkSizeRequestMode